<% include "/WEB-INF/includes/cabeceira.gtpl" %>


<%  def concello  = request.getAttribute("concello")
    def id  = request.getParameter("id")
    def sesion = request.getSession(true)
    def usuario = sesion.getAttribute('usuario')
%> 
 

<div id="content" class="group column span-16 last">

<div id="titulo-categoria">
<span class="categoria">
    <h1>Actividades do 
    <% include '/nomeCortoConcello.groovy' %> 
    </h1>
    
</span>


<% if (usuario) {%>
<span class="novo">
    <a href="/novaActividade" class="contido-link">nova actividade</a>
</span> 
<% } %>

</div> 

<% include '/WEB-INF/groovy/listaActividades.groovy' %>
    

</div> <!-- /content -->    

<div id="sidebar" class="column span-8 last">

<span class="seccion-sidebar">
<h4 class="cabeceira-contidos">os contidos do concello</h4>
    <ol>
        <li class="contido"> 
        <a class="contido-link" href="/fotos/concello/${id}"> 
             <div class="boton-contido">
                fotos 
            </div>
        </a>
        </li>

        <li class="contido"> 
        <a class="contido-link" href="/preguntas/concello/${id}"> 
             <div class="boton-contido">
                preguntas 
            </div>
        </a>
        </li>
        
        <li class="contido"> 
        <a class="contido-link" href="/actividades/concello/${id}"> 
             <div class="boton-contido">
                actividades 
            </div>
        </a>
        </li>       
        
        <li class="contido"> 
        <a class="contido-link" href="/sitios/concello/${id}"> 
             <div class="boton-contido">
                sitios 
            </div>
        </a>
        </li>        
        
     </ol>
    
</span>


<% include '/listaPaisanos.groovy' %>

</div> <!-- sidebar -->



<% include "/WEB-INF/includes/pe.gtpl" %>


<script src="/js/jquery-1.4.1.js" type="text/javascript"></script>
<script src="/js/jquery.tools.min.js" type="text/javascript"></script>
<script type="text/javascript" src="/js/jquery.fancybox-1.3.1.js"></script>
    

<script type="text/javascript"> 
jQuery(function() {

    jQuery(".fancy").fancybox({
        'width'             : '70%',
        'height'            : '70%',
        'autoScale'         : false,
        'transitionIn'      : 'elastic',
        'transitionOut'     : 'elastic',
        'type'              : 'iframe',
        'titlePosition'     : 'inside'

    });

    
});
</script>



<% include "/WEB-INF/includes/fin.gtpl" %>


